﻿<UserControl x:Class="nSin.InvioMail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="Auto" Width="Auto" Loaded="UserControl_Loaded">
    <DockPanel >
        <StackPanel Orientation="Horizontal" Width="Auto" DockPanel.Dock="Top">
            <Label VerticalAlignment="Top" Height="Auto" Name="label1" Width="Auto">Tipo raggrupppamento</Label>
            <ComboBox Name="TipoFiltro" VerticalAlignment="Top" Width="Auto" Height="Auto"  IsEditable="True"  IsReadOnly="True" SelectionChanged="TipoFiltro_SelectionChanged">
                <ComboBoxItem Selector.IsSelected="True" >Provincie</ComboBoxItem>
                <ComboBoxItem>Società</ComboBoxItem>
            </ComboBox>
        </StackPanel>
        <ListView Name="lsvData">
            <ListView.ItemContainerStyle>
                <Style TargetType="ListViewItem">
                    <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                </Style>
            </ListView.ItemContainerStyle>
            <ListView.View>
                <GridView>
                    <!--<GridViewColumn Header="Denominazione" DisplayMemberBinding="{Binding Path=Denominazione}" />
                    <GridViewColumn Header="Sigla" DisplayMemberBinding="{Binding Path=Sigla}" />
                    <GridViewColumn Header="Id Provincia" DisplayMemberBinding="{Binding Path=IdProvincia}" />-->
                </GridView>
            </ListView.View>
        </ListView>
        <Button Height="Auto" Name="button1" Width="Auto" Click="button1_Click">Invio mail iscritti</Button>
    </DockPanel>
</UserControl>
